package com.haq.housesystem.service;
import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.haq.housesystem.bean.Houses;

public interface HousesService {
    public void insert(Houses houses);
    public void update(Houses houses);
    public void delete(int houseId);
    public void deleteByIds(int[] houseIds);

    public List<Houses> selectAll();
    public Houses selectById(int houseId);
    public List<Houses> selectByTitleTypeOrientState(String title,int typeId,int orientId,int houseState);

    public PageInfo<Houses> selectAllByPageInfo(int curPage,int size);
    public PageInfo<Houses> selectAllByTitleTypeOrientStateByPageInfo(int curPage, int size, String title, int typeId, int orientId, int houseState);
}

